import order_detail_zh_CN from '@locale/lanres/order-detail/order-detail_zh_CN';
import manager_info_zh_CN from '@locale/lanres/manager-info/manager-info_zh_CN';
import shop_star_zh_CN from '@locale/lanres/shop-star/shop-star_zh_CN';
import agricultureproducts_zh_CN from '@locale/lanres/agriculture-products/agriculture-products_zh_CN';
import goods_evaluate_zh_CN from '@locale/lanres/goods-evaluate/goods-evaluate_zh_CN';
import security_infom_zh_CN from '@locale/lanres/security-infom/security-infom_zh_CN';
import shop_evaluate_zh_CN from '@locale/lanres/shop-evaluate/shop-evaluate_zh_CN';
import task_evaluate_zh_CN from '@locale/lanres/task-evaluate/task-evaluate_zh_CN';
import task_info_zh_CN from '@locale/lanres/task-info/task-info_zh_CN';
import securityinfo_zh_CN from '@locale/lanres/security-info/security-info_zh_CN';
import order_info_zh_CN from '@locale/lanres/order-info/order-info_zh_CN';
import student_info_zh_CN from '@locale/lanres/student-info/student-info_zh_CN';
import notice_info_zh_CN from '@locale/lanres/notice-info/notice-info_zh_CN';
import shop_examine_zh_CN from '@locale/lanres/shop-examine/shop-examine_zh_CN';
import goods_info_zh_CN from '@locale/lanres/goods-info/goods-info_zh_CN';
import town_info_zh_CN from '@locale/lanres/town-info/town-info_zh_CN';
import shop_info_zh_CN from '@locale/lanres/shop-info/shop-info_zh_CN';
import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
import commonLogic from '@/locale/logic/common/common-logic';

export default {
    app: {
        gridpage: {
            choicecolumns: '选择列',
            refresh: '刷新',
            show: '显示',
            records: '条',
            totle: '共',
        },
        formpage: {
            workflow: {
                startsuccess: '工作流启动成功',
                starterror: '工作流启动失败'
            }
        },
        tabpage: {
            sureclosetip: {
                title: '关闭提醒',
                content: '表单数据已经修改，确定要关闭？',
            },
            closeall: '关闭所有',
            closeother: '关闭其他',
        },
        fileUpload: {
            caption: '上传',
        },
        searchForm:{
            title:'条件搜索',
            searchButton: {
                search: '搜索',
                reset: '重置'
            }
        },
        form: {
            rules: {
                'required': '值不能为空',
                'string' : '值必须为字符串',
                'number' : '值必须为数值'
            }
        },
        // 非实体视图
        views: {
            setupportalview: {
                caption: commonLogic.appcommonhandle("设置",null),
                setup_portlet:commonLogic.appcommonhandle("设置",null),
            },
            shoptypeappportalview: {
                caption: commonLogic.appcommonhandle("选择商家类型",null),
                examinetype_portlet:commonLogic.appcommonhandle("营地商家",null),
                db_container1_portlet:commonLogic.appcommonhandle("",null),
                db_rawitem1_portlet:commonLogic.appcommonhandle("",null),
            },
            myportalview: {
                caption: commonLogic.appcommonhandle("我的",null),
                my_portlet:commonLogic.appcommonhandle("我的",null),
                db_container1_portlet:commonLogic.appcommonhandle("我的待办",null),
                db_container2_portlet:commonLogic.appcommonhandle("工作台头部",null),
                db_appview2_portlet:commonLogic.appcommonhandle("基本信息",null),
            },
            appindexview: {
                caption: commonLogic.appcommonhandle("共富营平台",null),
            },
            applogoutview: {
                caption: commonLogic.appcommonhandle("退出登录",null),
            },
            workbenchportalview: {
                caption: commonLogic.appcommonhandle("工作台",null),
                db_container1_portlet:commonLogic.appcommonhandle("我的待办",null),
                moe_portlet:commonLogic.appcommonhandle("操作入口",null),
                mytodo_portlet:commonLogic.appcommonhandle("我的待办",null),
                db_container2_portlet:commonLogic.appcommonhandle("工作台头部",null),
                businesssituationlist_portlet:commonLogic.appcommonhandle("经营状况",null),
                db_container4_portlet:commonLogic.appcommonhandle("经营状况",null),
                db_appview1_portlet:commonLogic.appcommonhandle("基本信息",null),
            },
        },
        portlets:{
        },
        menus: {
            examinetype: {
                menuitem1: commonLogic.appcommonhandle("营地",null),
                menuitem2: commonLogic.appcommonhandle("商家",null),
                menuitem3: commonLogic.appcommonhandle("体验点",null),
                menuitem4: commonLogic.appcommonhandle("农户",null),
            },
            moe: {
                menuitem2: commonLogic.appcommonhandle("入驻审核",null),
                menuitem1: commonLogic.appcommonhandle("星级评定",null),
                menuitem7: commonLogic.appcommonhandle("任务管理",null),
                menuitem3: commonLogic.appcommonhandle("商户管理",null),
                menuitem4: commonLogic.appcommonhandle("商品",null),
                menuitem5: commonLogic.appcommonhandle("订单",null),
                menuitem8: commonLogic.appcommonhandle("任务管理",null),
                menuitem9: commonLogic.appcommonhandle("任务管理",null),
                menuitem6: commonLogic.appcommonhandle("渠道",null),
            },
            my: {
                menuitem2: commonLogic.appcommonhandle("个人资料",null),
                menuitem1: commonLogic.appcommonhandle("消息",null),
                menuitem5: commonLogic.appcommonhandle("我的星级",null),
                menuitem4: commonLogic.appcommonhandle("设置",null),
            },
            setup: {
                menuitem1: commonLogic.appcommonhandle("关于系统",null),
                menuitem2: commonLogic.appcommonhandle("清除缓存",null),
                menuitem3: commonLogic.appcommonhandle("退出登录",null),
            },
            examinetypeg: {
                menuitem1: commonLogic.appcommonhandle("体验点",null),
                menuitem2: commonLogic.appcommonhandle("个体",null),
            },
            appindexview: {
                menuitem1: commonLogic.appcommonhandle("首页",null),
                menuitem2: commonLogic.appcommonhandle("店铺申请",null),
                menuitem3: commonLogic.appcommonhandle("我的",null),
            },
            mytodo: {
                menuitem1: commonLogic.appcommonhandle("入驻审核",null),
                menuitem7: commonLogic.appcommonhandle("星级评定",null),
                menuitem9: commonLogic.appcommonhandle("星级评定",null),
                menuitem2: commonLogic.appcommonhandle("待分配的任务",null),
                menuitem3: commonLogic.appcommonhandle("待完成的任务",null),
                menuitem4: commonLogic.appcommonhandle("待评价的任务",null),
                menuitem5: commonLogic.appcommonhandle("待确认的订单",null),
                menuitem6: commonLogic.appcommonhandle("待完成的订单",null),
            },
            loginout: {
                menuitem1: commonLogic.appcommonhandle("退出系统",null),
            },
        },
        components: {
            app_icon_menu: {
                statusValue_open: '展开',
                statusValue_close: '收回',
            }
        },

        button: {
            cancel: '取消',
            confirm: '确认',
            back: '返回',
            loadmore: '加载更多',
            previousStep: '上一步',
            nextStep: '下一步',
            finish: '完成',
        },
        loadding: '加载中',
        fastsearch: '快速搜索',
        searchcontext: '搜索内容',        
        pulling_text: '下拉刷新',
        ctrl:{
            form:"表单",
            multieditviewpanel:"多编辑面板",
            searchform:"搜索表单",
        },
        view:"视图",
        notConfig:"参数未配置",
        message:{
            success: "成功",
            fail: "失败",
            savedSuccess: "保存成功",
            deleteSccess: "删除成功",
            warning: "警告",
            confirmToDelete: "确认删除 ",
            unrecoverable: " 删除操作将不可恢复",
            totle: "共",
            data: "条数据"
        },
        statusMessage:{
            200: '服务器成功返回请求的数据。',
            201: '新建或修改数据成功。',
            202: '一个请求已经进入后台排队（异步任务）。',
            204: '删除数据成功。',
            400: '发出的请求有错误，服务器没有进行新建或修改数据的操作。',
            401: '用户没有权限（令牌、用户名、密码错误）。',
            403: '用户得到授权，但是访问是被禁止的。',
            404: '发出的请求针对的是不存在的记录，服务器没有进行操作。',
            405: '方法不被允许',
            406: '请求的格式不可得。',
            410: '请求的资源被永久删除，且不会再得到的。',
            422: '当创建一个对象时，发生一个验证错误。',
            500: '服务器发生错误，请检查服务器。',
            502: '网关错误。',
            503: '服务不可用，服务器暂时过载或维护。',
            504: '网关超时。',
        },
        errorMessage: {
            100: '未知',
            101: '请求发生错误',
            5001: '数据不存在',
            5002: '数据已存在，无法重复创建',
            5003: '新建失败',
            5004: '数据不存在，无法保存',
            5005: '数据删除失败'
        },
        title: {
            choose: '选择',
            customDashboard: '自定义仪表盘',
            styleSetting: '风格设置'
        }
    },
    order_detail: order_detail_zh_CN,
    manager_info: manager_info_zh_CN,
    shop_star: shop_star_zh_CN,
    agricultureproducts: agricultureproducts_zh_CN,
    goods_evaluate: goods_evaluate_zh_CN,
    security_infom: security_infom_zh_CN,
    shop_evaluate: shop_evaluate_zh_CN,
    task_evaluate: task_evaluate_zh_CN,
    task_info: task_info_zh_CN,
    securityinfo: securityinfo_zh_CN,
    order_info: order_info_zh_CN,
    student_info: student_info_zh_CN,
    notice_info: notice_info_zh_CN,
    shop_examine: shop_examine_zh_CN,
    goods_info: goods_info_zh_CN,
    town_info: town_info_zh_CN,
    shop_info: shop_info_zh_CN,
    codelist: codelist_zh_CN,
    userCustom: userCustom_zh_CN
};